# -*- coding: utf-8 -*-
"""
Version: 0.1
Author: CarpeDiem
Date: 2022/3/26
Description: 给信用卡设置密码
"""


class Card:
    def __init__(self, cardnum, password="123456"):
        if password == "123456":
            print("信用卡" + cardnum + "的默认密码为" + password)
        else:
            print("重置信用卡" + cardnum + "的密码为" + password)


Card("4013735633800642")
Card("4013735633800642", "168779")
